package controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import untity.Chatmessage;

import javax.servlet.http.HttpSession;
import java.util.List;

@RestController
@RequestMapping("/chat")
public class Chat {


    @PostMapping("/get")
    public List<Chatmessage> getMessage(HttpSession session){
        return null;
    }

    @PostMapping("/send")
    public Boolean sendMessage(HttpSession session){
        return null;
    }

}
